//
//  XPPXcodePlugin.h
//  XPPXcodePlugin
//
//  Created by yoyokko on 10-4-18.
//  Copyright 2010 yoyokko@gmail.com. All rights reserved.
//

#import "PBXLSPlugin.h"


// Principal class for XPPXcodePlugin.
// Handles settings everything up
@interface XPPXcodePlugin : PBXLSPlugin

// Menu item class need to register itself here to show in Xcode menu
+ (void)registerMenuItem:(id)menuItem;
// XCode calss need to register itself here to swizzle its methods
+ (void)registerSwizzleClass:(Class)cls;
// return the current xpp plugin bundle
+ (NSBundle*)pluginBundle;
// return the current bundle version
+ (float)xCodeVersion;

@end

BOOL swizzleMethods(Class ourClass, Class originalClass, SEL ourSelector, SEL originalSeletor);
